<?php
// File: config.php
// Configuration settings for loadavg.

// ============================================================================
// Global Variables -----------------------------------------------------------
// ============================================================================

// Directory to store logs & working files.
$datadir = '/var/www/vhosts/hz1.cairo.com.ua/_loadavg_/logs/';

// Size of a kilobyte, either 1000 or 1024.
$kbsize = 1000;

// ============================================================================
// index.php Variables ------------------------------------------------------
// ============================================================================

// Default load-average interval to display. Either 1, 5 or 15.
$default_load = 5;

// Load level at which point it is displayed in yellow.
$load_yellowline = 1;

// Load level at which point it is displayed in red.
$load_redline = 5;

// Upper scale (KB/s) of the transmit & receive charts. e.g., if you regularly
// do 30-40 KB/s transmit, try setting $txchart = 40
$txchart = 1024;
$rxchart = 512;

// Title of generated html page. $hostname will give the system hostname:
$title = "$hostname : loadavg";

// =============================================================================
// logger.php Variables --------------------------------------------------------
// =============================================================================

// Number of daily logs to keep around. Each logfile will be about 11-12 kb.
$dayskeep = 30;

// Network interface. 'venet0' for a VPS, 'eth0' or 'eth1' etc. for a dedicated.
$eth = 'eth0';

// Location of tmpwatch - this should be right for a Redhat, rpm-based distro.
$tmpwatchbin = '/usr/sbin/tmpwatch';
?>